//
//  PropertyCommunity.swift
//  PropertyCommunity
//
//  Created by benwang on 2021/7/7.
//

import UIKit

public enum Plateform {
  case manager
  case user
}

public class PropertyCommunity: NSObject {
  public static let shared = PropertyCommunity()

  public static func setup(_ platform: Plateform, window: inout UIWindow?, options: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

    window = UIWindow(frame: UIScreen.main.bounds)
    window?.rootViewController = R.storyboard.main.instantiateInitialViewController()
    window?.makeKeyAndVisible()

    return true
  }
}
